package erfgame.core.path;


import erfgame.core.entity.Entity;
import erfgame.core.world.terrain.WalkablePath;

public class StepCoster implements Coster {

	public int getCost(Entity client, int pathX, int pathY, int pathIndex,
			WalkablePath path) {
		return Math.max( path.getMaxStepDown(), path.getMaxStepUp() ) + 1;
	}

}
